package com.bluegalaxy.nhb.snservice.service.ck.impl;

import com.bluegalaxy.nhb.snservice.dao.SpreadMapper;
import com.bluegalaxy.nhb.snservice.domain.vo.api.ck.OverviewReq;
import com.bluegalaxy.nhb.snservice.domain.vo.api.ck.OvervivwVO;
import com.bluegalaxy.nhb.snservice.domain.vo.api.ck.SpreadReq;
import com.bluegalaxy.nhb.snservice.domain.vo.api.ck.SpreadVO;
import com.bluegalaxy.nhb.snservice.service.ck.SpreadService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("SpreadService")
public class SpreadServiceImpl implements SpreadService {
    @Autowired
    private SpreadMapper spreadMapper;

    @Override
    public List<SpreadVO> findSpreadList(SpreadReq param) {
        return spreadMapper.findSpreadList(param);
    }

    @Override
    public String countSpreadList(SpreadReq param) {
        return spreadMapper.countSpreadList(param);
    }

}
